
<%@ page import="taxi.Cliente" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'cliente.label', default: 'Cliente')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
		<!--  <link rel="stylesheet" type="text/css" href="../../../web-app/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="../../../web-app/css/bootstrap.css.map" />
		<link rel="stylesheet" type="text/css" href="../../../web-app/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="../../../web-app/css/bootstrap-theme.min.css" />
		<link rel="stylesheet" type="text/css" href="../../../web-app/css/bootstrap-theme.css.map" />
		<link rel="stylesheet" type="text/css" href="../../../web-app/css/bootstrap-theme.css" />
		<script type="text/javascript" src="../../../web-app/js/bootstrap.js"></script>
		<script type="text/javascript" src="../../../web-app/js/bootstrap.min.js"></script>-->
		
	</head>
	<body>
		<a href="#list-cliente" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<!--  <li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>-->
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
				<!--  <li><span class="menuButton"><g:link action="search">Buscar</g:link></span></li>-->
			</ul>
		</div>
		<br/>
			
			  <button type="button" class="btn btn-link"></button><span class="btn btn-default"><g:link action="search">Buscar</g:link></span>
			
			<div id="list-cliente" class="content scaffold-list" role="main">
			<h1><g:message code="default.list.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<table class="table table-striped">
				<thead>
					<tr>
					
						<g:sortableColumn property="nome" title="${message(code: 'cliente.nome.label', default: 'Nome')}" />
					
						<g:sortableColumn property="telefone" title="${message(code: 'cliente.telefone.label', default: 'Telefone')}" />
					
						<g:sortableColumn property="endereco" title="${message(code: 'cliente.endereco.label', default: 'Endereco')}" />
					
						<g:sortableColumn property="email" title="${message(code: 'cliente.email.label', default: 'Email')}" />
					
						<g:sortableColumn property="senha" title="${message(code: 'cliente.senha.label', default: 'Senha')}" />
					
						<g:sortableColumn property="dica_senha" title="${message(code: 'cliente.dica_senha.label', default: 'Dicasenha')}" />
					
					</tr>
				</thead>
				<tbody>
				<g:each in="${clienteInstanceList}" status="i" var="clienteInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${clienteInstance.id}">${fieldValue(bean: clienteInstance, field: "nome")}</g:link></td>
					
						<td>${fieldValue(bean: clienteInstance, field: "telefone")}</td>
					
						<td>${fieldValue(bean: clienteInstance, field: "endereco")}</td>
					
						<td>${fieldValue(bean: clienteInstance, field: "email")}</td>
					
						<td>${fieldValue(bean: clienteInstance, field: "senha")}</td>
					
						<td>${fieldValue(bean: clienteInstance, field: "dica_senha")}</td>
					
					</tr>
				</g:each>
				</tbody>
			</table>
			<p align="center"><a href="http://localhost:8080/taxi/cliente/admin">Voltar</a> </p>
			<div class="pagination">
				<g:paginate total="${clienteInstanceTotal}" />
			</div>
		</div>
	</body>
</html>
